package org.osomit.sacct.session.token.iface;

import javax.crypto.SecretKey;
import java.io.Serializable;

/**
 * @author Jian Fang (John.Jian.Fang@gmail.com)
 *
 * Date: Jul 1, 2009
 */
public interface Token extends Serializable {
    
    String getId();

    SecretKey getSessionKey();

    boolean isExpired();

    long getCreationTime();

    public void expire();

    String generateOTP();
    
}
